Put the index in the correct place

Duh