fix bug on stop editing Node switch