fix summary bug