Deleting trailing spaces