fix the extesion problem of phase2 and phase1