fix the heatmap legend '0' bugs