fixed bug with search addresses