normalizing whitespace