add DBG_CHECK_TUPLE, fix gettuple imm num argument

but we still have a broken self argument in op.a