typo error on index