implemented fix for the city routing functionality