fix typo

Hey, man, you has a typo, maybe. Really, I dont know, but now encoding is works for me :+1: