tweaking stats compilation