fixes accumulated totals
Merge remote-tracking branch 'origin/master'