add gauge
fix a bug about score calculation