fix bug of current_order.id == nil