Fix indexation bug