Fix typo in indexing