minor modification to histograms
fix histogram plot