bug fix encode text
bug fix encode text