fixed device back button bug