fixed unicode error for py3