fix bug
injector refactoring