                                                     ))}]
                            [:span {:className "value"
                                    :onClick (fn []
-                                              (add-input! path true)
+                                              (when path
+                                                (add-input! path true))
                                               )}
                             (str x)])))
              "keyword" (fn [x]

                                                 :left (.-clientX e)
                                                 :items [{:label "remove"
                                                          :action (fn []
                                                                    (println "remove!"))}]}))}
    (clickable-ref step path)]
   (sub-step step path)
   ))


(defn re-run [notebook page args]
  (when (and notebook page)
    (let [run (run-index (:index @aurora-state) notebook page args)]
      (println "RESULT: " (first run))
      (reset! run-stack #js {:calls #js [(nth run 2)]})
      (queue-render))))

(defn find-id [thing id]
  (first (filter #(= (aget % "id") id) (aget thing "calls"))))
