diff --git a/Geo/GModel.cpp b/Geo/GModel.cpp
index a1749a0b1b148c2f369e1e5c9078454f6a1535c8..b707ea0b476c6c01e85ed5fd0ca02fb18920c6b1 100644
--- a/Geo/GModel.cpp
+++ b/Geo/GModel.cpp
@@ -135,8 +135,6 @@ GModel::GModel(std::string name)
 {
   partitionSize[0] = 0; partitionSize[1] = 0;
 
-  for(unsigned int i = 0; i < list.size(); i++) list[i]->setVisibility(0);
-
   list.push_back(this);
   // at the moment we always create (at least an empty) GEO model
   _createGEOInternals();
diff --git a/Plugin/FieldFromAmplitudePhase.cpp b/Plugin/FieldFromAmplitudePhase.cpp
index 55b305278fdee3e9fb77fa137a178a411ff17a39..2a5bad0e8e6521f8a7ffd8ba36b33e01ab7e960f 100644
--- a/Plugin/FieldFromAmplitudePhase.cpp
+++ b/Plugin/FieldFromAmplitudePhase.cpp
@@ -101,6 +101,7 @@ PView *GMSH_FieldFromAmplitudePhasePlugin::execute(PView *v)
   oA = new OctreePost(va); 
   oPhi = new OctreePost(vphi); 
 
+  GModel::current()->setVisibility(0);
   GModel *umodel = new GModel ;  
   umodel->readMSH(fileName) ; 
   std::vector<GEntity*> _entities ;