small fix in Stats class