nargs added to wait-max