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

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

     (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
