Fixes NodeType errors