removing crud from the repository