fixed the search, from now will take care of tab spaces as well