fix mediator