fixed the obs param in generate_order_xml method