fix: tr.586 and bit-8 stuff