fix wrong datum use
add binary values to dump
add interface mismatch error support