fix mediator's events