fixed reconnect.