hide trailing whitespace