fix display bug when trying reconnecting