cleanup mediator