fix utf-8 characters bug