fix correct dependency injection