fixed deserialization issue