fix bug when score == 0