fix app_controller