fix backup-routine