typo when sending JSON for menu completion...
add comment about tsan