Bug fixed in the histogram