fix a connection issue