solving root domain problem