fix back button not working