fix geolocation error