fixed a bug in setting origin_list_old correctly.