Index: /trunk/FACT++/src/rootifysql.cc
===================================================================
--- /trunk/FACT++/src/rootifysql.cc	(revision 19966)
+++ /trunk/FACT++/src/rootifysql.cc	(revision 19967)
@@ -901,11 +901,11 @@
 
         if (verbose>1)
-            cout << (skip?" - ":" + ") << branch.c_str() << " [" << t << "] {" << (it==FileEntry::LUT.end()?'-':it->branch) << "}\n";
+            cout << (skip?" - ":" + ") << leaflist.c_str() << " [" << t << "] {" << (it==FileEntry::LUT.end()?'-':it->branch) << "}\n";
 
         // Create the container entry (must be emplace_back due to the std::string)
         if (accurate)
+            container.emplace_back(leaflist, "", it->type);
+        else
             container.emplace_back(leaflist, it->type);
-        else
-            container.emplace_back(leaflist, "", it->type);
 
         if (skip)
@@ -914,5 +914,5 @@
         // Create corresponding branches in all trees
         for (auto itree=ttree.begin(); itree!=ttree.end(); itree++)
-            itree[0]->Branch(l[i].c_str(), container[i].ptr, branch.c_str());
+            itree[0]->Branch(l[i].c_str(), container[i].ptr, leaflist.c_str());
 
         cols++;
