fixed bug where totals are shown instead of 0 values in apps