Fixed the output to the console.