remove nodeId variable