correct the injected dependencies of the QueryService component