Fix a mistake
Add trailing whitespace functions