fix hexstring