#fix the websocket connection