fix bug in the argument creator