mediator syntax error fixed