fix repair archives