fix node type