fix: big endian encoding