Fix an issue for add comment, and remove the console log call