                       (document-key parent-typ ky)) all-keys))))))
 
 (defmethod print-error :misspelled-key [{:keys [key corrections orig-error orig-config type-sig] :as error}]
-  (prn type-sig)
-  (println "HERER")
-  (prn corrections)
   (pprint-document (print-path-error error
                                      (format-key-value
                                       key

  (let [path-that-start-with-key (->> (limit-analysis-to-type parent-type analysis)
                                      (map rest)
                                      (filter (fn [[ky & xs]]
                                                #_(prn ky)
                                                (and (vector? ky)
                                                     (seq ky)
                                                     (= bad-key (second ky))

    ;; TODO best path can't exist already!!
    ;; make sure that value matches type
    #_[bad-key child-analysis potential-types correct-path-types best-fit-path ]
    (when best-fit-path
      (let [{:keys [parent-type child-type]}
            (first (filter #((set (:correct-paths %)) best-fit-path) correct-path-types))]
