ConsoleApp fix