fix hexdump function with 2 args