polish whitespace