fixes to index file