fix a bug for do not show comment node of only child