fixes to geolocator worker