exception changes in app controller