display properties and removing comments