temporary fix for websocket protocol