order details bug fix