fixing argument count comparison