         :child_added (add-change-fn)
         :child_changed (add-change-fn)
         :child_removed (swap! data update-in path dissoc key)
+        :value nil
         (.log js/console (clj->js [event key val]))))) )
 
 (defn unbind! [data path]

        :child_added (add-change-fn)
        :child_changed (add-change-fn)
        :child_removed (swap! data update-in path dissoc key)
        (.log js/console (clj->js [event key val]))))))

(defn- r-cache-fn [data path]

   (fb->chan fbref (chan)))
  ([fbref close-chan]
   (let [mult-close (mult close-chan)
         events [:child_added :child_changed :child_removed :value]
         event-chans (map (fn [event]
                            (fb->chan fbref (tap mult-close (chan)) event))
                          events)]
