- bug in app controller