fixed index typo