fixes a sale process index