corrected the geocoding method- it works now without crashing