fixed rawtype warning in InjectionProvider