cleanup generateproperties