Fix typo on encoding