fixing naming of menu variables in index