corrected the stats service