improve dispersion and jcd heatmap