fix the set geolocation coordinate bug