fixing injector bug