iOS detection fixed