change mainCntl to mainCtrl in main view