back button bug fix