fixed app controller