remove unnecessary repositories