clean old repository