Fix console app