fix doc arity