fix orders index