fix compactHexDecode