clean entities