bug fix application_controller
2nd bug fix application_controller
3ed bug fix application controller and fixed upper menu