 					loop
 						scope = parent?.scope or windowStyle
 						if (scope is windowStyle and file is 'view') or (parent and parent.node.attrs.get('neft:style') is parentId)
-							@item = scope?.objects[subid]# or scope?.item.$?[subid]
-						# @item ?= scope?.?(id)
+							@item = scope?.objects[subid]
 						if @item or ((not parent or not (parent = parent.parent)) and scope is windowStyle)
 							break
 

		unless utils.isClient
			return

		if @item and @isAutoParent
			@item.parent = null

		if @item
			while elem = @textWatchingNodes.pop()
				if 'onTextChange' of elem
					elem.onTextChange.disconnect textChangeListener, @
				if 'onChildrenChange' of elem
					elem.onChildrenChange.disconnect textChangeListener, @
				if 'onVisibleChange' of elem
					elem.onVisibleChange.disconnect textChangeListener, @

			if @attrs
				@attrsClass.disable()
				@attrsClass.target = null

		wasAutoParent = @isAutoParent

		id = @node.attrs.get 'neft:style'
		assert.isString id

			@updateText()

	attrsChangeListener = (name, oldValue) ->
		if name is 'href' and @isLink()
			@item?.linkUri = @getLinkUri()

		if @attrs?[name]
