fix iphone bug