bug fixes for totals widgets