fix type in Stats