allowed back button to work