fix typo in retint encoding