align exception context correctly