fixed bug with search name