fixing iphone bug