Fixed summary bug