modify commandNodes, now could handle command list