shortens search value