fix utf-8 encode issue