fixing refs to repos