fix iOS range