edit bom/websocket