fix websocket bug
fix BUG 118