fix bug in add comment to thread