Fix for historgram sample data