Consolewindow fix