improved fetching of stats