new order processing bug fix