fix getScores problem