fix connection status