                             node.parentNode = nil
                         }
                     default:
-                        node["aid"] = "\(variable) not supported"
+                        node[attPrefix] = "\(variable) not supported"
                         print("\(parts[0]) not supported")
                     }
 


extension BrilliantTemplate {
    func processAid(node: HTMLNode, data: [String: Any?]) {
        if let aid = node["aid"] {
            var parts: [String] = aid.components(separatedBy: ":")

            if (parts.count < 2) {
                node["aid"] = "incorrect syntax, aid needs 2 or more parameters"
            } else {
                let attribute = parts.remove(at: 0)

                if let variable = untieVar(name: parts[0], data: data) {
                    //if let variable = data[parts[0]] {

                        //    node[attribute] = node[attribute]! + " " + attributeValue!
                        //}
                    }
                    node[attPrefix] = nil

                } else {
                    node[attPrefix] = nil
                    if node[attribute] == nil {
                        node[attribute] = ""
                    }
