repair the repo