fix bug in missing arg