Removing erroneous whitespace