Fix ConsoleEx sample