add cr to last line