fix mediator duplicate process