index file formatting fix