fix bug of city not being assigned