fixed back button bug