fixed lr inversion on heatmap output