remove property when a null value is set