Fix index var name.