fixed bugs found in testing summarizer