move middleware to defaults, scrub stack from inspect/error display