fix back button to clear parameters