more path editing for summary generation