fixed usage in console application