Final fix for iphone

fix for iphone.