                             [:div {:class "navbar-header"}
                                 [:a {:href (str url-prefix "deleted-words-in-blacklist") :class "navbar-brand"} "Deleted words"]
                             ] ; ./navbar-header
-                        [:div {:style "width:80%"}
-                            (render-search-field word url-prefix)
-                        ]
+                            [:div {:style "width:80%"}
+                                (render-search-field word url-prefix mode)
+                            ]
                         ]
                         [:br]
                         [:br]

                            [:div {:class "navbar-header"}
                                [:a {:href (str url-prefix "deleted-words-in-whitelist") :class "navbar-brand"} "Deleted words"]
                            ] ; ./navbar-header
                        [:div {:style "width:80%"}
                            (render-search-field word url-prefix)
                        ]
                        ]
                        [:br]
                        [:br]

    "Render error page with a 'back' button."
    [word user-name message url-prefix]
    (page/xhtml
        (render-html-header "" url-prefix nil) ; TODO change, it might not work correctly (title, mode)
        [:body
            [:div {:class "container"}
                (render-navigation-bar-section user-name url-prefix nil); TODO change, it might not work correctly (title, mode)
                [:div {:class "col-md-10"}
                    [:h2 "Sorry, error occured in zg"]
                    [:p message]
