cleanup phase2