Fixed binding variables to histograms