removed obsolete code from injector