scoring bug fix