fixed communication to server