Correct bug in order to display of histogram on Macs