fixed type in application_controller