fixed hw3 getscorecard calling bug