made back button actually work