repair some bug of get_all_score