trim to avoid leading whitespace in seo lib methods