cleaning up the repository