Fix for client can't connect to the websocket
Fix for client can't connect to the websocket