edit error in sumAll