rebuild the corrupted library