fix bugs for postComment