fix undefined nodeID