remove useless repositories

* and fix build conflicts