 			"data-cui-theme": opts.theme
 			"data-cui-url": opts.url
 			href: css_href
+
+		old_css_nodes = CUI.dom.matchSelector(document.head, "link[name='"+@__cssName+"']")
 
 		dfr.always =>
 			CUI.dom.removeAttribute(cssNode, "data-cui-loading")

				dfr.reject(css_href)
				return

		document.head.appendChild(cssNode)
		dfr.promise()

						dfr.reject(css_href)
						return

				# old_css_nodes = []
				for css_node in old_css_nodes # :not([loading])")
					if css_node == cssNode
						continue
						# console.info("CSSLoader.loadTheme: Removing old css node:", CUI.dom.getAttribute(css_node, "href"), "New Node is:", CUI.dom.getAttribute(cssNode, "href"), "Is loading:", CUI.dom.getAttribute(css_node, "loading"))
					CUI.dom.remove(css_node)
						# old_css_nodes.push(css_node)

				CUI.dom.setAttribute(document.body, "data-cui-theme", opts.theme)

