cleaning up the properties