resetting root to