fix an serialization issue with sync dataset