fixes for heatmap-histogram.