trying to fix serialization issue