removed unneeded index references