fix utf8 issues