remove trailing spaces
remove trailing spaces