Solve some problem with repo