How to make vacant properties visible or hidden