Fix WS perf.