diff --git a/Common/onelab.h b/Common/onelab.h
index 0fdea84efd15f8dc36f23702c822576a5937faa2..1aa1b245568f77c731d55732e662a39660c24c5f 100644
--- a/Common/onelab.h
+++ b/Common/onelab.h
@@ -432,22 +432,13 @@ namespace onelab{
         if(client.empty() || (*it)->hasClient(client))
           (*it)->setChanged(changed);
     }
-    std::string toChar()
-    {
-      std::string s;
-      std::set<parameter*> ps;
-      _getAllParameters(ps);
-      for(std::set<parameter*>::iterator it = ps.begin(); it != ps.end(); it++)
-        s += (*it)->toChar() + "\n";
-      return s;
-    }
-    std::string toCharIfClient(const std::string &client="")
+    std::string toChar(const std::string &client="")
     {
       std::string s;
       std::set<parameter*> ps;
       _getAllParameters(ps);
       for(std::set<parameter*>::iterator it = ps.begin(); it != ps.end(); it++)
-        if ((*it)->hasClient(client)) s += (*it)->toChar() + "\n";
+        if(client.empty() || (*it)->hasClient(client)) s += (*it)->toChar() + "\n";
       return s;
     }
   };
@@ -540,9 +531,10 @@ namespace onelab{
     {
       return _parameterSpace.getChanged(client);
     }
-    std::string toChar(){ return _parameterSpace.toChar(); }
-    std::string toCharIfClient(const std::string &client="")
-      { return _parameterSpace.toCharIfClient(client); }
+    std::string toChar(const std::string &client="")
+    {
+      return _parameterSpace.toChar(client); 
+    }
   };
     
   class localClient : public client{