check nargs