Modified value_finalizer to check presence of value. If the value is not the same then deletes it.
This fixes the symbol address difference issue.