fix vectorize argument count