Autoremoving trailing spaces