Fix the output in the console