fix DependencyInjectionExtension