fixed a small problem with the back button