fix bug encode utf-8