409 fix and exception output refactor