clearing repositories