fix CompactAndRepair messages