fixes in progress for histogram