fixed error in backup rotation