fix stat percentage bug