fixed my index table