fixed connection issue