editor mediator bug fix