Adding trailing whitespace removal