fix utf-8 bug