fixed deserialize bug