reseting the phase to get rid of the transition effect