fix encode fix