cleans out repository