unfolding histograms fix