fixed up arity problems with closing the dynamic begin/end open func types