Fix adapter.