FIX: totals wrong for gists