index table is been generated correctly