remove use of the repository service