                                root-props (merge
                                             props
                                             active-route)
-                               element-tree (get-element-tree @routes path root-props render-module-status)]
+                               element-tree (get-element-tree @routes path root-props ModuleStatus)]
                            element-tree))
                        )))]
        {:root-class           AppRoot


        (if module-id
          (recur (butlast p)
                 (when (some? render-module-status)
                   ((om/factory ModuleStatus)
                     {:module-id     module-id
                      :render-status render-module-status})))
          (let [fac (if ui #(om/factory ui) #(om/factory route))

     (add-watch routes :route/hierarchy (fn [_ _ _ next-state]
                                          (reset! route-hierarchy (u/create-hierarchy next-state))))
     (let [set-active-route! #(reset! active-route %1)
           ModuleStatus (when render-module-status
                          (module-status render-module-status))
           AppRoot
           (ui
             static om/IQueryParams
