try to empty the repo