managed to stop back button