fix back button crash