Fix incorrect use of injector