fix assign order api