fix bugs in RootIOSvc