fixed connection with server