remove old repository stuff