fix stat save