fixed incomplete score calculation issue.