fix application_controller