finish the inject service.