edit fix for index typo