trying to fix new websocket stuff