fixed bug of minimum arguments

resubmitted again off the correct version of master