remove repo part