Fixing mediator mplan failure