Fixed build of stats