improve fix for missing histograms