few fix in usage function