fixed get_score_difference bug