clearing the repository