fixed bug in heatmap display