search is working on links go to the right place