bug fixed when multi connect crash