fix builder arity checks