mediator: fix initialization