remove trailling white spaces