remove excess whitespace