bug fix in singletonizeDClosures()