fixed score bug