bugs fixed for result_summ