fixed bug in managing connect/bond