Why is the newline removed?