Rename index to img_class