clear superfluous whitespace