fixing backup bugs