call backwards compatible hex2bin