Fix newline bug in console.