fix back button problem