fix test error
fix meta header: ensure unique indexes and correct filename