modified conditional to stop geocoding happening twice during init