improve websocket console