diff --git a/datastore_server/source/java/ch/ethz/sis/openbis/generic/server/dss/plugins/harvester/synchronizer/EntitySynchronizer.java b/datastore_server/source/java/ch/ethz/sis/openbis/generic/server/dss/plugins/harvester/synchronizer/EntitySynchronizer.java
index ccfa05bcbe3ac687872d66ace7672e954f532fe7..330c45d307a752ad8d0bd1a571c68806e9c22525 100644
--- a/datastore_server/source/java/ch/ethz/sis/openbis/generic/server/dss/plugins/harvester/synchronizer/EntitySynchronizer.java
+++ b/datastore_server/source/java/ch/ethz/sis/openbis/generic/server/dss/plugins/harvester/synchronizer/EntitySynchronizer.java
@@ -498,7 +498,7 @@ public class EntitySynchronizer
         v3Api.deleteMaterials(sessionToken, matPermIds, matDeletionOptions);
 
         // confirm deletions
-        ArrayList deletionIds = new ArrayList();
+        ArrayList<IDeletionId> deletionIds = new ArrayList<IDeletionId>();
         if (expDeletionId != null)
         {
             deletionIds.add(expDeletionId);
@@ -854,6 +854,7 @@ public class EntitySynchronizer
             props.setProperty("as-url", EntitySynchronizer.this.config.getDataSourceOpenbisURL());
             props.setProperty("dss-url", EntitySynchronizer.this.config.getDataSourceDSSURL());
             props.setProperty("harvester-temp-dir", EntitySynchronizer.this.config.getHarvesterTempDir());
+            props.setProperty("do-not-create-original-dir", "true");
             return props;
         }
     }