fix a bug about RaceRecord capacity