rename hex conversion for compatibility