 
 (defn- commodities-source
   [text]
-  (->> @*commodities*
+  (->> @commodities
        (filter #(not= -1 (-> (:name %)
                              (.toLowerCase)
                              (.indexOf text))))

     :other-account-id
     {:data-source accounts-source
      :input-placeholder "Select the other account"
      :in-fn (model-in-fn *accounts* :path)
      :out-fn (fn [v] (if (iterable? v) (first v) v))
      :result-fn (fn [[path id]] path)})])


     :parent-id
     {:data-source accounts-source
      :input-placeholder "Select an account"
      :in-fn (model-in-fn accounts :path)
      :out-fn (fn [v] (if (iterable? v) (first v) v))
      :result-fn first})
   (select-input :type account-types {:visible? #(nil? (:parent-id %))})
