fixed lots of geolocation stuff, the big one was a race condition that would cause routing to never run