Fixed a bug related to the score returned.