Bugfix on scoring