Fixed bug in console.