fix stat entity