fix crashing injector