fixed Bug of Re connect