minor changes to the backup functionality