fixed refresh and go back button