replaced new with old code

so the dynamic adv. search works again (number, predefined values etc.)