Fix console
Merge pull request #1942 from matheod/fixConsole

Fix console