modify arg check