fixing whitespace removal