removing dynamic_property when value is empty