added error handling for user geolocation failing