Remove extraneous whitespace characters