Minor fix in duck write