fixed connection status stuff