Index: trunk/MagicSoft/Mars/mdata/MDataFormula.cc
===================================================================
--- trunk/MagicSoft/Mars/mdata/MDataFormula.cc	(revision 7169)
+++ trunk/MagicSoft/Mars/mdata/MDataFormula.cc	(revision 7418)
@@ -139,4 +139,8 @@
 
     fFormula = new TFormula;
+
+    //Must have a name otherwise all axis label disappear like a miracle
+    fFormula->SetName(fName);
+
     if (fFormula->Compile(txt))
     {
@@ -172,5 +176,5 @@
 
     fFormula = f ? (TFormula*)f->Clone() : 0;
-    gROOT->GetListOfFunctions()->Add(fFormula);
+    gROOT->GetListOfFunctions()->Remove(fFormula);
 
     fMembers.SetOwner();
