fix summation
fix summation