[Console] fixed issue 6649

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Fixes the following tickets: #6649
Todo: -
License of the code: MIT