fixed summary bug