clean the repository