bug fix on main menu onResume