Fix adapter dependency