repair whitespace