main: check node id is not noneid