fixed the geolocation issues