cleanup of properties and settings