 
 		for child in @children
 			child.findItemParent()
-
-		# HACK
-		if item
-			while (tmpNode = tmpNode._parent) && not tmpNode.style
-				if tmpNode.name is 'neft:use'
-					tmpNode._documentStyle = tmpNode.children[0]._documentStyle
 
 		return
 

					if style.node isnt tmpNode
						item = item._parent

				tmpNode._documentStyle ?= @

				if item
					@item.parent = item

		@file.readyToUse = false
		stylesToRevert.push @
		updateWhenPossible @

		# clean index finding data
		tmpNode = @node
		while (tmpNode = tmpNode._parent) && not tmpNode.style
			if tmpNode.name is 'neft:use'
				tmpNode._documentStyle = null

		for child in @children
			child.revert()
