Fix ids and add some comments into index file.