Remove extraneous whitespaces