trailing whitespace deletion