Fix mediation adapter.