attempt 2 to fix geolocation not loading