Fixed bug: delete node from tree error sometimes