Fix Loading of MainController