Unfortunate typo encode for decode fixed