fix geolocation determine bug