minor edits to search tool