fix utf8 problems