Fix app controller