fixes heatmap rendering