add trim to search term