     (error-help-message error)
     :break
     :break
-    [:nest 2
+    [:nest 2 
      (print-path (reverse (rest path))
                  leaf-node
                  orig-config)]

                  ;; this value
                  ;; this needs to be refactored as we are covering the
                  ;; same ground as above
                  (when (and (map? val) (> (count val) 0))
                    (for [[k _ [pt _ val-typ]] (schema-rules :-)
                          :when (and

  (let [parent-config-value (error-parent-value error)
        analysis            (detailed-config-analysis parent-config-value)
        actual-parent-type? (analysis-type-matches parent-type analysis)]
    #_(prn root-type actual-parent-type?)
    #_(pprint/pprint analysis)
    #_(if (= bad-key :magicl))
    (if (not (true? actual-parent-type?))
      ;; not parent type we are looking at a misplaced configuration
      ;; value
      ;; TODO this is still weak
      [{:Error :wrong-position-for-value
        :current-path (-> error :path rest)
        :expected-type parent-type
        :actual-type (:alternate-type actual-parent-type?)
        :correct-paths (get-paths-for-type root-type (:alternate-type actual-parent-type?))}]
      ;; now we can determing if this is most likely a mispelled key
      (if-let [mispelled-key-error (misspelled-key? parent-type parent-config-value bad-key analysis)]
        [mispelled-key-error]
        (if-let [misplaced-key-error
                 (misplaced-key? root-type
                                 (get error :orig-config)
                                 parent-type
                                 parent-config-value
                                 bad-key)]
          [misplaced-key-error]
          (if-let [misspelled-misplaced-key-error
                   (misspelled-misplaced-key? root-type
                                              (get error :orig-config)
                                              parent-type
                                              parent-config-value
                                              bad-key)]
            [misspelled-misplaced-key-error]
            []))))))

#_(pp)

