Whitespace bug

splitting, then joining, is safer - something like trailing whitespace won't produce a string like "obama & "