remove repo and fix some unit test