diff --git a/src/templates/index.html b/src/templates/index.html
index 0697f0a..3260a37 100644
--- a/src/templates/index.html
+++ b/src/templates/index.html
@@ -154,12 +154,12 @@ function updateTotalNutrition() {
// Durchlaufen aller Zeilen in der Haupttabelle und Addition der Werte
Array.from(document.getElementById('nutrition-table').rows).slice(1).forEach(row => {
- totalKcal += parseFloat(row.cells[2].innerText);
- totalEw += parseFloat(row.cells[3].innerText);
- totalFett += parseFloat(row.cells[4].innerText);
- totalKh += parseFloat(row.cells[5].innerText);
- totalBst += parseFloat(row.cells[6].innerText);
- totalCa += parseFloat(row.cells[7].innerText);
+ totalKcal += parseFloat(row.cells[4].innerText);
+ totalEw += parseFloat(row.cells[4].innerText);
+ totalFett += parseFloat(row.cells[5].innerText);
+ totalKh += parseFloat(row.cells[6].innerText);
+ totalBst += parseFloat(row.cells[7].innerText);
+ totalCa += parseFloat(row.cells[8].innerText);
});
// Rundung und Aktualisierung der Gesamtwerte