fix WS