fixing excursion index