changing defualt root when there is no config found