fixed client-server connection