# TSVB histogram and metric visualization doesnt match, when math operation is used

Hi, I got two visualizations with the same math aggregation

one is an histogram and the other a metric visualization.

but the value showed in the metric viz, doesnt match the max on the histogram.

why this happen?

So, in the picture below, the blue line represents the sum of the four metrics

``````params.tc + params.tm + params.cc + params.cm
``````

So I think that I have to separate every bucket and then find the bucket with higher value, something like this:

``````max(bucket-with-higher-value)
``````