fixed the encode/decode function name