Fix when delete root folder display undefined.