Fixed error in main ctrl