fix stat