removed spaces from xptemplate snippets