fix global stat