remove leading spaces for search results