add doc string to clean-entity