Fix the console stack trace