bugfix for TFile so all is saved!
another one!