fixed usage output and args check