Fixed bug with root directory not being refreshed.