             url    (str "search_engines/" (:search-engine @corpus "cwb") "_searches")
             params {:corpus_id (:rid @corpus)
                     :queries   q
-                    :max_hits 2000
+                    :max_hits  2000
                     :sort_by   (name @sort-by)}]
         (reset! show? true)
         (reset! results nil)

    (let [results-ch (http/post url {:json-params (merge params {:step      3
                                                                 :cut       nil
                                                                 :search_id search-id})
                                     :headers {"Accept" "application/json"}})
          {:keys [status success] {{{num-hits :num_hits} :table} :search} :body} (<! results-ch)]
      (if-not success
        (.log js/console status)

    (let [results-ch (http/post url {:json-params (merge params {:step      2
                                                                 :cut       (* 20 page-size)
                                                                 :search_id search-id})
                                     :headers     {"Accept" "application/json"}})
          {:keys [status success] {{{num-hits :num_hits} :table} :search} :body} (<! results-ch)]
      (if-not success
        (.log js/console status)
