fixed back button and other stuff