fixed ConsoleListener creation