use destDir to remove delegates