Fix hexstring