Fix stat result bug