emptying the repo