app controller fix