cleaning the repository structure