fixing get repositories