fixing the dependency injection builder