fix bug: setting connection_adapter