fix ndot arity