small fix for index files