fix root delete bug