Fix websocket syntax error