fixed up some geolocation stuff