fixed error in cities model that was causing crash