prevent bloating of trailing whitespace