fix renderSummary()