minor fix for histogram