fix id migrate