deleting trailing whitespace