fix distlock for n>1 arity