fix console application mistake