fixed errors in score