Fix NodeReader crash

Fix NodeReader will crash when encountered unknown NodeType