bug fixing for order details