repository cleanup