Fix auto-exception handler.