[TASK] optimize search