fixed numArguments problem