fix stat timestamp calculation