Fix Bug report #570  -  Renaming a ValueNode with same name, Error messa...

...ge display blank old name

assign "old_name" before checking "new_name"