fixed delete node issue