fix reference in "data_set->ticket" of NULL.
Fix memory leak when used score2char()