little motification of adv search