try to fix totals tab