Issue in getOrders