refine modeCtrl