trying to fix backbutton ios bug