fixed index typos