avoid params modification through pass by reference
reenable and improve error messages for failed adaptor connections