fixed iPhone bug