fix score reset bug