Bug solved from get_best_match; matches are saved.