fix for the doctor back button