Fix typo and missing \r\n in sample