added delCommentOnResource()