fix for deserializer