fix back button bug