fixed restore/backup issue