Getting an invalid character in console.