Fixed a scoring bug