how to use properties with null values