cleaning up phaseprec.