fixed scoring bug