index: fix variable name copy+paste typo