Fixes app controller