bug in showConsole()/showNewConsole()