Fixed a bug about incoming buffer pollution
cleaning the CompoundValueNode tree