History sum fixed