fix a bug after delete all nodes