fix analysis comment generation