diff --git a/serviceconfig/src/main/java/org/duracloud/serviceconfig/xml/ServiceElementWriter.java b/serviceconfig/src/main/java/org/duracloud/serviceconfig/xml/ServiceElementWriter.java
index <HASH>..<HASH> 100644
--- a/serviceconfig/src/main/java/org/duracloud/serviceconfig/xml/ServiceElementWriter.java
+++ b/serviceconfig/src/main/java/org/duracloud/serviceconfig/xml/ServiceElementWriter.java
@@ -166,7 +166,7 @@ public class ServiceElementWriter {
 
         String name = modeSet.getName();
         if (!StringUtils.isBlank(name)) {
-            modeSetType.setDisplayName(name);
+            modeSetType.setName(name);
         }
 
         String displayName = modeSet.getDisplayName();
fixed a bug in the ServiceElementWriter: now the modeSet name is being populated properly.

git-svn-id: <URL>