Hi Nikolay,
That looks like a bug. Existing values are overwritten. It is as if symbols scoped using Block
are not being restored to their value in the outer scope. You should report it to Wolfram Support.
You can use Remove[x, y, z]
to remove the symbols or Clear[x, y, z]
to remove the OwnValues
.