repository cleaning