fixed NPE on add comment