Console Application constructor fix