Reconnect bug fix