Mediator bux fix. Now it returns error object too.