Strip out trailing spaces