Remove excessive whitespaces