hotfix for amend totals