some fixes to backupmanager