fix that websocket connection