Fixed an undetected bug caused by me in WSServer