fixes for smoother2histval and relative provisions