added support for forced clear repo