destroy the repo