fixing a small bug in geolocation where the text wouldn't be reset properly