fixed log output from pycountry