fix pop-opcode in funcdef