debug index vars