small changes in adv search