get rid of excessive whitespace