fixed a bug when listing summaries from a DirPath