removing unnecessary index

@DarthDippy