fix move file indexing