data and newline fixed