diff --git a/GazelleHL7v2Validator-ejb/src/main/java/net/ihe/gazelle/hl7/messageprofiles/view/HL7MessageProfileManagerView.java b/GazelleHL7v2Validator-ejb/src/main/java/net/ihe/gazelle/hl7/messageprofiles/view/HL7MessageProfileManagerView.java
index dfacdb7a03fef4c8ef5d7aa33a55a9cb95380dd7..6a8f20547b7dbcdcf93c70ec74b72f99c7bcf7b9 100644
--- a/GazelleHL7v2Validator-ejb/src/main/java/net/ihe/gazelle/hl7/messageprofiles/view/HL7MessageProfileManagerView.java
+++ b/GazelleHL7v2Validator-ejb/src/main/java/net/ihe/gazelle/hl7/messageprofiles/view/HL7MessageProfileManagerView.java
@@ -18,9 +18,9 @@ package net.ihe.gazelle.hl7.messageprofiles.view;
 import net.ihe.gazelle.common.filter.list.GazelleListDataModel;
 import net.ihe.gazelle.hl7.messageprofiles.adapter.MessageProfilesDAO;
 import net.ihe.gazelle.hl7.messageprofiles.adapter.MessageProfilesDAOImpl;
-import net.ihe.gazelle.hl7.messageprofiles.model.Profile;
 import net.ihe.gazelle.hl7.messageprofiles.application.ControllerException;
 import net.ihe.gazelle.hl7.messageprofiles.application.HL7Application;
+import net.ihe.gazelle.hl7.messageprofiles.model.Profile;
 import net.ihe.gazelle.tf.messageprofile.SOAPExceptionException;
 import net.ihe.gazelle.tf.ws.Hl7MessageProfile;
 import org.apache.axis2.AxisFault;
@@ -262,7 +262,7 @@ public class HL7MessageProfileManagerView implements Serializable {
     public void displayProfilesList() {
         this.hl7Application.setSelectedMessageProfileReference(null);
 
-        if ((getAllMessageProfilesReferences()== null) || getAllMessageProfilesReferences().getListElements()==null) {
+        if ((getAllMessageProfilesReferences()== null) || getAllMessageProfilesReferences().getWrappedData()==null) {
             getAllMessageProfiles();
         }
     }