bugfix in coment generation