cleanup the stats