[BUGFIX] fix node deletion