fixing iphone type