fix preview totals