fixed raw_hex_add