Remove end white space.