resetting root directory