trim whitespace, show search text