wait for  colorPlanMain