Fix bug on server WS