fix a bug in creating backups record file