solve delete node issue