remove mediator