fix id manager serialization