Fix adapter configuration

i add these line because the Client class didn't set automatically the Adapter defined in $option['adapter']