fix inventory totals chart