Why is whitespace removed here?