fixed argument count check in new code issue.