                 continue
             }
 
-            if let node = parseNode(child) {
-                self.defNodes[id] = node
-                continue
-            }
-
             if let mask = parseMask(child) {
                 self.defMasks[id] = mask
                 continue

                return parseText(node, textAnchor: getTextAnchor(styleAttributes), fill: getFillColor(styleAttributes),
                                 stroke: getStroke(styleAttributes), opacity: getOpacity(styleAttributes), fontName: getFontName(styleAttributes), fontSize: getFontSize(styleAttributes), fontWeight: getFontWeight(styleAttributes), pos: position)
            case "use":
                return parseUse(node, fill: getFillColor(styleAttributes), stroke: getStroke(styleAttributes), pos: position, opacity: getOpacity(styleAttributes))
            case "mask":
                break
            default:

        }
        var node: Node?
        mask.children.forEach { indexer in
            if let useNode = parseUse(indexer) {
                node = useNode
            } else if let contentNode = parseNode(indexer) {
                node = contentNode
