fix problem with default arity