fixed scoring bugs