clean some trailing white spaces