fixed getNodeList bug