start cleaning up entity