fix bug calling utf8_decode()