fixed minor bug in args