fix validation histogram

Fixing a bug that was causing to not produce profile histograms