Fix hexadecimal string to actually be hexadecimal