fixing up restore/backup