Fix console app example