better error handling when geocoding