Fix node type