fixed decode_utf8 bug