fix utf8 bug