fix file stat