bugfix for heatmap reloading