Fix bug on position when deserialize VariableArray