Deleting trailing whitespaces