modify BasicRepository