Fix a bug when score is null