fixes the country parsing