corrected heatmapColorScale in drawHeatmap