use sc_debug_hex for hexdump
fixed definition