bugfix: prevent crash if comment is not set in new tag