fix a bug associated with argument