Undo fix for iphone