fixed heatmap/marker switching