fix score bug