solved serialization issue