call TrimSpace. Fixes #2