Correct geolocator logic