Fix nodetype