fixed formatting of exception output