Trim spaces for #name spell