dom tuple; solve bugs; add Invoke::emitFunction()