bug fix total values and color diagramm