summation fix