fixed error for cities with spaces in the name