avoid extra whitespace in searchform