add file index
fix index