reconstruct repository