fixing the indexation of intervalList