fix for dc:mediator bug