fixed bug in THREE phase2