fixed order of adding repositories