tried to fix serialization exceptions, no luck