修改select_adv bug