little changes about connection