fixed bugs with ClientConsole