geolocation bug fix