         (fn []
           (this-as
            this
-           (let [data_atom (dc/get-state this :data_atom)
+           (let [card (dc/get-props this :card)
+                 data_atom (get-in card [:main-obj :data_atom])
                  id        (dc/get-state this :omnext$unique-id)]
              (when (and data_atom id)
                (remove-watch data_atom id)))))

           (let [card (dc/get-props this :card)
                 options (:options card)
                 unique-id (dc/get-state this :omnext$unique-id)
                 data_atom (dc/get-state this :data_atom)
                 main (cond->> (js/React.createElement "div" #js {:id unique-id})
                        (false? (:watch-atom options)) (dc/dont-update (dc/get-state this :state_change_count)))]
             (dc/render-all-card-elements main data_atom card))))})

                             (= (dc/get-state this :state_change_count)
                                (.-state_change_count next-state)))]
             update?)))
       :componentDidMount
       (if (html-env?)
         (fn []
