fixed ws.end
1.0.3