fix for file index map