fixing iphon's error