cleanup of old repository