Fix score accessor bug after refactoring