correcting use of newlines in target document