typo in encoding in duct_flow