fixed mediator/injector bug