fix stat_bin warning