fixed weighting and toggle for heatmap