         filter (constant-filter 5 2 "editing")
         join-itr (join-iterator #js [itr1 itr2 itr3 filter])]
     (transform (aget env "ctx") join-itr (fn [cur remember! forget! pretend!]
-                                           (pretend! "elem-child" #js ["todo-list" "todo-editor" (aget cur 0)])
+                                           (pretend! "elem-child" #js ["todo-list" (aget cur 0) "todo-editor"])
                                            (pretend! "elem" #js ["todo-editor" "input"])
                                            (pretend! "elem-attr" #js ["todo-editor" "defaultValue" (aget cur 1)])
                                            (pretend! "elem-event" #js ["todo-editor" "onChange" "todo-editor" (aget cur 0)])

                                     (aset cur 5 nil)))
        join-itr (join-iterator #js [itr1 itr2 itr3 active?-itr child-id-itr parent-id-itr])]
    (transform (aget env "ctx") join-itr (fn [cur remember! forget! pretend!]
                                           (pretend! "elem-child" #js [(aget cur 5) (aget cur 4) -1])
                                           (pretend! "elem" #js [(aget cur 4) "input"])
                                           (pretend! "elem-attr" #js [(aget cur 4) "type" "checkbox"])
                                           (pretend! "elem-attr" #js [(aget cur 4) "checked" (aget cur 3)])

                                     (aset cur 4 nil)))
        join-itr (join-iterator #js [itr1 itr2 itr3 filter child-id-itr remove-id-itr])]
    (transform (aget env "ctx") join-itr (fn [cur remember! forget! pretend!]
                                           (pretend! "elem-child" #js ["todo-list" (aget cur 0) (aget cur 3)])
                                           (pretend! "elem" #js [(aget cur 3) "li"])
                                           (pretend! "elem-event" #js [(aget cur 3) "onDoubleClick" (aget cur 3) nil])
                                           (pretend! "elem-child" #js [(aget cur 3) 0 (str (aget cur 3) "-0")])
                                           (pretend! "elem-text" #js [(str (aget cur 3) "-0") (aget cur 1)])
                                           (pretend! "elem-child" #js [(aget cur 3) 1 (aget cur 4)])
                                           (pretend! "elem" #js [(aget cur 4) "button"])
                                           (pretend! "elem-child" #js [(aget cur 4) 0 (str (aget cur 4) "-0")])
                                           (pretend! "elem-text" #js [(str (aget cur 4) "-0") "x"])
                                           (pretend! "elem-event" #js [(aget cur 4) "onClick" nil nil])
                                           ))))
