fixed spec / edoc arity bug