fix multiphase