fix totals slightly
avoid caching bug