clean planPhases