fixed WsServer class