Whitespace cleaning