fixed heatmap issues