correct error in `isolate_city_codes()`