fix _adapter_connect