fixed edit node bug