bug fix in args