converted \r to \n