handle iphone weirdness