remove phases