fix bracket in _hexstring2printable