fix amsbackup ids