fix back button issue